package com.xueyu.domain.goods;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 商品信息表
 * @TableName product
 */
@TableName(value ="product")
@Data
public class Product implements Serializable {
    /**
     *
     */
    @TableId(value = "prodId")
    private Integer prodid;
    /**
     * 产品名称
     */
    @TableField(value = "prodName")
    private String prodname;
    /**
     * 单位
     */
    @TableField(value = "unitName")
    private String unitname;
    /**
     * 图片
     */
    @TableField(value = "brand")
    private String brand;

    /**
     * 分类id
     */
    @TableField(value = "style")
    private String style;
    /**
     * 单价
     */
    @TableField(value = "price")
    private Double price;
    /**
     * 供应商id
     */
    @TableField(value = "supplierId")
    private String supplierid;

    /**
     * 创建时间
     */
    @TableField(value = "ctime")
    private String ctime;
    //更新时间
    @TableField("Gtime")
    private String Gtime;
    //描述
    @TableField("DrugM")
    private String DrugM;

    @TableField(exist = false)
    private int prodcount;//物品数量

    @TableField(exist = false)
    private String p;//物品数量
    @TableField(exist = false)
    private String g;//物品数量
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
